package cup.com.icss.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MailSystemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MailSystemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFCnNameIsNull() {
            addCriterion("F_CN_NAME is null");
            return (Criteria) this;
        }

        public Criteria andFCnNameIsNotNull() {
            addCriterion("F_CN_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andFCnNameEqualTo(String value) {
            addCriterion("F_CN_NAME =", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameNotEqualTo(String value) {
            addCriterion("F_CN_NAME <>", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameGreaterThan(String value) {
            addCriterion("F_CN_NAME >", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameGreaterThanOrEqualTo(String value) {
            addCriterion("F_CN_NAME >=", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameLessThan(String value) {
            addCriterion("F_CN_NAME <", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameLessThanOrEqualTo(String value) {
            addCriterion("F_CN_NAME <=", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameLike(String value) {
            addCriterion("F_CN_NAME like", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameNotLike(String value) {
            addCriterion("F_CN_NAME not like", value, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameIn(List<String> values) {
            addCriterion("F_CN_NAME in", values, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameNotIn(List<String> values) {
            addCriterion("F_CN_NAME not in", values, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameBetween(String value1, String value2) {
            addCriterion("F_CN_NAME between", value1, value2, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFCnNameNotBetween(String value1, String value2) {
            addCriterion("F_CN_NAME not between", value1, value2, "fCnName");
            return (Criteria) this;
        }

        public Criteria andFStudentIdIsNull() {
            addCriterion("F_STUDENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andFStudentIdIsNotNull() {
            addCriterion("F_STUDENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFStudentIdEqualTo(String value) {
            addCriterion("F_STUDENT_ID =", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdNotEqualTo(String value) {
            addCriterion("F_STUDENT_ID <>", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdGreaterThan(String value) {
            addCriterion("F_STUDENT_ID >", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdGreaterThanOrEqualTo(String value) {
            addCriterion("F_STUDENT_ID >=", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdLessThan(String value) {
            addCriterion("F_STUDENT_ID <", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdLessThanOrEqualTo(String value) {
            addCriterion("F_STUDENT_ID <=", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdLike(String value) {
            addCriterion("F_STUDENT_ID like", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdNotLike(String value) {
            addCriterion("F_STUDENT_ID not like", value, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdIn(List<String> values) {
            addCriterion("F_STUDENT_ID in", values, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdNotIn(List<String> values) {
            addCriterion("F_STUDENT_ID not in", values, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdBetween(String value1, String value2) {
            addCriterion("F_STUDENT_ID between", value1, value2, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFStudentIdNotBetween(String value1, String value2) {
            addCriterion("F_STUDENT_ID not between", value1, value2, "fStudentId");
            return (Criteria) this;
        }

        public Criteria andFCollegeIsNull() {
            addCriterion("F_COLLEGE is null");
            return (Criteria) this;
        }

        public Criteria andFCollegeIsNotNull() {
            addCriterion("F_COLLEGE is not null");
            return (Criteria) this;
        }

        public Criteria andFCollegeEqualTo(String value) {
            addCriterion("F_COLLEGE =", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeNotEqualTo(String value) {
            addCriterion("F_COLLEGE <>", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeGreaterThan(String value) {
            addCriterion("F_COLLEGE >", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeGreaterThanOrEqualTo(String value) {
            addCriterion("F_COLLEGE >=", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeLessThan(String value) {
            addCriterion("F_COLLEGE <", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeLessThanOrEqualTo(String value) {
            addCriterion("F_COLLEGE <=", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeLike(String value) {
            addCriterion("F_COLLEGE like", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeNotLike(String value) {
            addCriterion("F_COLLEGE not like", value, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeIn(List<String> values) {
            addCriterion("F_COLLEGE in", values, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeNotIn(List<String> values) {
            addCriterion("F_COLLEGE not in", values, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeBetween(String value1, String value2) {
            addCriterion("F_COLLEGE between", value1, value2, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFCollegeNotBetween(String value1, String value2) {
            addCriterion("F_COLLEGE not between", value1, value2, "fCollege");
            return (Criteria) this;
        }

        public Criteria andFTheClassIsNull() {
            addCriterion("F_THE_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andFTheClassIsNotNull() {
            addCriterion("F_THE_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andFTheClassEqualTo(String value) {
            addCriterion("F_THE_CLASS =", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassNotEqualTo(String value) {
            addCriterion("F_THE_CLASS <>", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassGreaterThan(String value) {
            addCriterion("F_THE_CLASS >", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassGreaterThanOrEqualTo(String value) {
            addCriterion("F_THE_CLASS >=", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassLessThan(String value) {
            addCriterion("F_THE_CLASS <", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassLessThanOrEqualTo(String value) {
            addCriterion("F_THE_CLASS <=", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassLike(String value) {
            addCriterion("F_THE_CLASS like", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassNotLike(String value) {
            addCriterion("F_THE_CLASS not like", value, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassIn(List<String> values) {
            addCriterion("F_THE_CLASS in", values, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassNotIn(List<String> values) {
            addCriterion("F_THE_CLASS not in", values, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassBetween(String value1, String value2) {
            addCriterion("F_THE_CLASS between", value1, value2, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andFTheClassNotBetween(String value1, String value2) {
            addCriterion("F_THE_CLASS not between", value1, value2, "fTheClass");
            return (Criteria) this;
        }

        public Criteria andJCnNameIsNull() {
            addCriterion("J_CN_NAME is null");
            return (Criteria) this;
        }

        public Criteria andJCnNameIsNotNull() {
            addCriterion("J_CN_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andJCnNameEqualTo(String value) {
            addCriterion("J_CN_NAME =", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameNotEqualTo(String value) {
            addCriterion("J_CN_NAME <>", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameGreaterThan(String value) {
            addCriterion("J_CN_NAME >", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameGreaterThanOrEqualTo(String value) {
            addCriterion("J_CN_NAME >=", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameLessThan(String value) {
            addCriterion("J_CN_NAME <", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameLessThanOrEqualTo(String value) {
            addCriterion("J_CN_NAME <=", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameLike(String value) {
            addCriterion("J_CN_NAME like", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameNotLike(String value) {
            addCriterion("J_CN_NAME not like", value, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameIn(List<String> values) {
            addCriterion("J_CN_NAME in", values, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameNotIn(List<String> values) {
            addCriterion("J_CN_NAME not in", values, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameBetween(String value1, String value2) {
            addCriterion("J_CN_NAME between", value1, value2, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJCnNameNotBetween(String value1, String value2) {
            addCriterion("J_CN_NAME not between", value1, value2, "jCnName");
            return (Criteria) this;
        }

        public Criteria andJStudentIdIsNull() {
            addCriterion("J_STUDENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andJStudentIdIsNotNull() {
            addCriterion("J_STUDENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andJStudentIdEqualTo(String value) {
            addCriterion("J_STUDENT_ID =", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdNotEqualTo(String value) {
            addCriterion("J_STUDENT_ID <>", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdGreaterThan(String value) {
            addCriterion("J_STUDENT_ID >", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdGreaterThanOrEqualTo(String value) {
            addCriterion("J_STUDENT_ID >=", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdLessThan(String value) {
            addCriterion("J_STUDENT_ID <", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdLessThanOrEqualTo(String value) {
            addCriterion("J_STUDENT_ID <=", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdLike(String value) {
            addCriterion("J_STUDENT_ID like", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdNotLike(String value) {
            addCriterion("J_STUDENT_ID not like", value, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdIn(List<String> values) {
            addCriterion("J_STUDENT_ID in", values, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdNotIn(List<String> values) {
            addCriterion("J_STUDENT_ID not in", values, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdBetween(String value1, String value2) {
            addCriterion("J_STUDENT_ID between", value1, value2, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJStudentIdNotBetween(String value1, String value2) {
            addCriterion("J_STUDENT_ID not between", value1, value2, "jStudentId");
            return (Criteria) this;
        }

        public Criteria andJCollegeIsNull() {
            addCriterion("J_COLLEGE is null");
            return (Criteria) this;
        }

        public Criteria andJCollegeIsNotNull() {
            addCriterion("J_COLLEGE is not null");
            return (Criteria) this;
        }

        public Criteria andJCollegeEqualTo(String value) {
            addCriterion("J_COLLEGE =", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeNotEqualTo(String value) {
            addCriterion("J_COLLEGE <>", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeGreaterThan(String value) {
            addCriterion("J_COLLEGE >", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeGreaterThanOrEqualTo(String value) {
            addCriterion("J_COLLEGE >=", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeLessThan(String value) {
            addCriterion("J_COLLEGE <", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeLessThanOrEqualTo(String value) {
            addCriterion("J_COLLEGE <=", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeLike(String value) {
            addCriterion("J_COLLEGE like", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeNotLike(String value) {
            addCriterion("J_COLLEGE not like", value, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeIn(List<String> values) {
            addCriterion("J_COLLEGE in", values, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeNotIn(List<String> values) {
            addCriterion("J_COLLEGE not in", values, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeBetween(String value1, String value2) {
            addCriterion("J_COLLEGE between", value1, value2, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJCollegeNotBetween(String value1, String value2) {
            addCriterion("J_COLLEGE not between", value1, value2, "jCollege");
            return (Criteria) this;
        }

        public Criteria andJTheClassIsNull() {
            addCriterion("J_THE_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andJTheClassIsNotNull() {
            addCriterion("J_THE_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andJTheClassEqualTo(String value) {
            addCriterion("J_THE_CLASS =", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassNotEqualTo(String value) {
            addCriterion("J_THE_CLASS <>", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassGreaterThan(String value) {
            addCriterion("J_THE_CLASS >", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassGreaterThanOrEqualTo(String value) {
            addCriterion("J_THE_CLASS >=", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassLessThan(String value) {
            addCriterion("J_THE_CLASS <", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassLessThanOrEqualTo(String value) {
            addCriterion("J_THE_CLASS <=", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassLike(String value) {
            addCriterion("J_THE_CLASS like", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassNotLike(String value) {
            addCriterion("J_THE_CLASS not like", value, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassIn(List<String> values) {
            addCriterion("J_THE_CLASS in", values, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassNotIn(List<String> values) {
            addCriterion("J_THE_CLASS not in", values, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassBetween(String value1, String value2) {
            addCriterion("J_THE_CLASS between", value1, value2, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andJTheClassNotBetween(String value1, String value2) {
            addCriterion("J_THE_CLASS not between", value1, value2, "jTheClass");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("TITLE is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("TITLE =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("TITLE <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("TITLE >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("TITLE >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("TITLE <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("TITLE <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("TITLE like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("TITLE not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("TITLE in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("TITLE not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("TITLE between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("TITLE not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("CONTENT is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("CONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("CONTENT =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("CONTENT <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("CONTENT >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("CONTENT >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("CONTENT <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("CONTENT <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("CONTENT like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("CONTENT not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("CONTENT in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("CONTENT not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("CONTENT between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("CONTENT not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("TIME is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("TIME is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Date value) {
            addCriterion("TIME =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Date value) {
            addCriterion("TIME <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Date value) {
            addCriterion("TIME >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TIME >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Date value) {
            addCriterion("TIME <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Date value) {
            addCriterion("TIME <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Date> values) {
            addCriterion("TIME in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Date> values) {
            addCriterion("TIME not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Date value1, Date value2) {
            addCriterion("TIME between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Date value1, Date value2) {
            addCriterion("TIME not between", value1, value2, "time");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}